Repository navigation
release: fastd/http 8.3.0 - #49
Merged
Merged
Conversation
- 保持 EmitterInterface::send() 原有参数签名 - 新增 ObjectEmitterInterface::sendObject() - AbstractEmitter 实现兼容的对象发送 - SseResponse 对对象事件做能力检测 - object 事件测试覆盖
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
发布
fastd/http 8.3.0的 SSE 兼容优化:EmitterInterface::send(Event|string|array)原签名ObjectEmitterInterface::sendObject(object)AbstractEmitter实现公共 SSE 行为和对象发送能力SseResponse::emit(EmitterInterface)支持自定义发送器SseResponse对 iterable 中的对象事件做发送能力检测设计
对象支持通过新增接口提供,避免破坏已有 Emitter 实现;
send()的调用方兼容。验收